﻿#region License
// Copyright (c) 2009-2010 Topian System - http://www.topian.net
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following
// conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
// OTHER DEALINGS IN THE SOFTWARE.
#endregion

using System;
using System.Xml.Linq;

namespace System.Diagnostics.IntelliTrace
{
    static class CollectionPlanSchema
    {
        private const string Namespace = "urn:schemas-microsoft-com:visualstudio:tracelog";
        internal static readonly XName TracePointProvider = XName.Get("TracePointProvider", Namespace);
        internal static readonly XName Categories = XName.Get("Categories", Namespace);
        internal static readonly XName Category = XName.Get("Category", Namespace);
        internal static readonly XName ModuleSpecifications = XName.Get("ModuleSpecifications", Namespace);
        internal static readonly XName ModuleSpecification = XName.Get("ModuleSpecification", Namespace);
        internal static readonly XName DiagnosticEventSpecifications = XName.Get("DiagnosticEventSpecifications", Namespace);
        internal static readonly XName DiagnosticEventSpecification = XName.Get("DiagnosticEventSpecification", Namespace);
        internal static readonly XName CategoryId = XName.Get("CategoryId", Namespace);
        internal static readonly XName SettingsName = XName.Get("SettingsName", Namespace);
        internal static readonly XName SettingsDescription = XName.Get("SettingsDescription", Namespace);
        internal static readonly XName Bindings = XName.Get("Bindings", Namespace);
        internal static readonly XName Binding = XName.Get("Binding", Namespace);
        internal static readonly XName ModuleSpecificationId = XName.Get("ModuleSpecificationId", Namespace);
        internal static readonly XName TypeName = XName.Get("TypeName", Namespace);
        internal static readonly XName MethodName = XName.Get("MethodName", Namespace);
        internal static readonly XName MethodId = XName.Get("MethodId", Namespace);
        internal static readonly XName ProgrammableDataQuery = XName.Get("ProgrammableDataQuery", Namespace);
        internal static readonly XName ShortDescription = XName.Get("ShortDescription", Namespace);
        internal static readonly XName LongDescription = XName.Get("LongDescription", Namespace);
        internal static readonly XName DataQueries = XName.Get("DataQueries", Namespace);
        internal static readonly XName DataQuery = XName.Get("DataQuery", Namespace);
        internal static readonly XName ModuleName = XName.Get("ModuleName", Namespace);
    }
}